<?xml version="1.0" encoding="utf-8"?>
<link:linkbase 
  xmlns:link="http://www.xbrl.org/2003/linkbase" 
  xmlns:generic="http://xbrl.org/2008/generic" 
  xmlns:va="http://xbrl.org/2008/assertion/value"
  xmlns:variable="http://xbrl.org/2008/variable" 
  xmlns:xff="http://www.xbrl.org/2010/function/formula" 
  xmlns:xfi="http://www.xbrl.org/2008/function/instance" 
  xmlns:eg="http://xbrl.org/formula/conformance/example" 
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
  xmlns:xlink="http://www.w3.org/1999/xlink" 
  xsi:schemaLocation="
  http://www.xbrl.org/2003/linkbase
    http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd
  http://xbrl.org/2008/generic
    ../../core_schemas/generic-link.xsd 
  http://xbrl.org/2008/assertion/value
    ../../core_schemas/value-assertion.xsd
  http://xbrl.org/2008/variable
    ../../core_schemas/variable.xsd"
  >
  <link:arcroleRef arcroleURI="http://xbrl.org/arcrole/2008/variable-set" xlink:href="../../core_schemas/variable.xsd#variable-set" xlink:type="simple"/>

  <link:arcroleRef arcroleURI="http://xbrl.org/arcrole/2008/variable-filter" xlink:href="../../core_schemas/variable.xsd#variable-filter" xlink:type="simple"/>
  
  <link:roleRef roleURI="http://www.xbrl.org/2008/role/link" xlink:href="../../core_schemas/generic-link.xsd#standard-link-role" xlink:type="simple"/>


  <generic:link xlink:type="extended" xlink:role="http://www.xbrl.org/2008/role/link">
      
    <va:valueAssertion xlink:type="resource" xlink:label="assertion"
        test="
            day-from-dateTime( 
               xfi:period-instant(
                   xff:uncovered-aspect('period') ) )
            eq $n"
        id="assertion"
        aspectModel="non-dimensional" implicitFiltering="true" />

    <variable:factVariable xlink:type="resource" xlink:label="factvar1" 
      bindAsSequence="false"  />

    <variable:variableArc xlink:type="arc" xlink:to="factvar1" xlink:from="assertion"
      xlink:arcrole="http://xbrl.org/arcrole/2008/variable-set" order="1" 
      name="n" />
    
  </generic:link>
</link:linkbase>
